import { FC, ReactElement } from "react";

interface IProps {}

const FileUpload: FC<IProps> = (): ReactElement => {
  return (
    <form
      action="http://localhost:3002/createQRCode"
      method="post"
      encType="multipart/form-data"
    >
      <input type="file" name="img" />
      <input type="text" name="title" />
      <input type="number" name="price" />
      <input type="submit" />
    </form>
  );
};

export default FileUpload;
